Auto merge of #1122 - alexcrichton:issue-1119, r=brson
authorbors <bors@rust-lang.org>
Thu, 8 Jan 2015 19:35:06 +0000 (19:35 +0000)
committerbors <bors@rust-lang.org>
Thu, 8 Jan 2015 19:35:06 +0000 (19:35 +0000)
It looks like tags don't always point to tag objects, but rather sometimes to
commits themselves. This tweaks the peeling logic for tags to find an *object*
first, and then peel to a commit, rather than finding a tag first and then
peeling.

Closes #1119

1  2 
src/cargo/sources/git/utils.rs

Simple merge